package hb.software.attendance.entity;

import edu.zut.hb.software.base.domain.BaseEntity;
import hb.software.attendance.category.AttendanceCategory;

import javax.persistence.Column;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

public class Attendance extends BaseEntity<Long> {

	/**
	 *
	 */
	private static final long serialVersionUID = 5248375159266650045L;

	@ManyToOne
	@JoinColumn(name = "Category_ID")
	AttendanceCategory attendanceCategory;

	@Column
	String coursename;
	@Column
	String attendancestatus;
	@Column
	String attendancetime;

	public String getAttendancestatus() {
		return attendancestatus;
	}

	public void setAttendancestatus(String attendancestatus) {
		this.attendancestatus = attendancestatus;
	}

	public String getAttendancetime() {
		return attendancetime;
	}

	public void setAttendancetime(String attendancetime) {
		this.attendancetime = attendancetime;
	}

	public String getCoursename() {
		return coursename;
	}

	public void setCoursename(String coursename) {
		this.coursename = coursename;
	}

	public AttendanceCategory getAttendanceCategory() {
		return attendanceCategory;
	}

	public void setAttendanceCategory(AttendanceCategory attendanceCategory) {
		this.attendanceCategory = attendanceCategory;
	}
}
